home *** CD-ROM | disk | FTP | other *** search
- Path: news1.h1.usa.pipeline.com!usenet
- From: grantp@usa.pipeline.com(Pete)
- Newsgroups: comp.lang.c++
- Subject: Re: ODBC in Console Applicatoin ?
- Date: 3 Feb 1996 00:44:03 GMT
- Organization: Kalevi, Inc.
- Message-ID: <4eub4j$2k3@news1.usa.pipeline.com>
- References: <311202A1.6F84@cmt.lpr.mail.carel.fi>
- NNTP-Posting-Host: 38.8.60.7
- X-PipeUser: grantp
- X-PipeHub: usa.pipeline.com
- X-PipeGCOS: (Pete)
- X-Newsreader: Pipeline USA v3.3.0
-
- On Feb 02, 1996 14:25:05 in article <Re: ODBC in Console Applicatoin ?>,
- 'Ari Lukumies <aril@cmt.lpr.mail.carel.fi>' wrote:
-
-
- >
- >I think, if you use ODBC API calls, that can be done. But if you use
- >MFC (wrapper above ODBC API calls), you'll have to stick to GUI
- >applications. If I remember correctly, MFC's CDatabase refuses to
- >open a database (that mdb file) if there is no graphical parent
- >window present.
- >
- This appears to be correct. In attempting to respond to the
- original post, I quickly threw a console app together that used
- CDatabase and Crecordset MFC classes to access a database.
- It gave a protection fault. I did not want to spend the time to find
- out why.
-
- --
- Pete Grant
- Kalevi, Inc.
- Object Oriented Software Development
-